package cn.kpi.entity.payassessment;

import cn.kpi.entity.attendance.AttSummaryEntity;

import java.util.Date;

public class AllowancePayVoEntity {
 private Long tpayid;
 private int rowNum;
 private Float originMoney = 1000f;//todo:改为实际值

 private Long orgid;
 private String orgname;
 private String cardno;
 private String realname;
 private String userno;
 private Float everyDay;
 private Integer iseverDay;
 private Float overTimeDay;
 private Integer isoverTimeDay;
 private Float laterDay;
 private Float leaveEarlyDay;
 private Float lostDay;
 private String remarkDay;

 //缺失小记,各种假
 private Float SumLessDay;
 private Float yearVaca;
 private Float familyVaca;
 private Float marryVaca;
 private Float birthVaca;
 private Float deathVaca;
 private Float hurtVaca;
 private Float fallVaca;
 private Float matterVaca;
 private Float otherVaca;

 //学习
 private Float studyDay;
 //借调,t_user_loan表想办法
 private Float removeDay;
 private String allowanceLeave;
 private Float nowMoney;//金额
 private String remark;

 private Integer status;
 private Long zqid;
 private Date zqtime;

 public AllowancePayVoEntity(){}
 public AllowancePayVoEntity(AttSummaryEntity attSummaryEntities){
  tpayid =attSummaryEntities.getAttsummaryid();
  rowNum = attSummaryEntities.getRowNum();
  orgid =attSummaryEntities.getOrgid();
  orgname = attSummaryEntities.getOrgname();
  realname =attSummaryEntities.getRealname();
  userno = attSummaryEntities.getUserno();
  everyDay = attSummaryEntities.getCqts();
  iseverDay = attSummaryEntities.getSfqq();
  overTimeDay = attSummaryEntities.getJbts();

  SumLessDay = attSummaryEntities.getXjts();
  familyVaca = attSummaryEntities.getTqjts();
  marryVaca = attSummaryEntities.getHjts();
  fallVaca = attSummaryEntities.getBjts();
  matterVaca = attSummaryEntities.getSjts();
  hurtVaca = attSummaryEntities.getGsts();
  birthVaca =attSummaryEntities.getSyjts();
  deathVaca = attSummaryEntities.getSangjts();
  otherVaca = attSummaryEntities.getQtts();

  laterDay = Float.valueOf(attSummaryEntities.getCdcc());
  leaveEarlyDay = Float.valueOf(attSummaryEntities.getZtcc());
  lostDay = Float.valueOf(attSummaryEntities.getKgcs());
 }


 public Long getTpayid() {
  return tpayid;
 }

 public void setTpayid(Long tpayid) {
  this.tpayid = tpayid;
 }

 public Long getZqid() {
  return zqid;
 }

 public void setZqid(Long zqid) {
  this.zqid = zqid;
 }

 public Date getZqtime() {
  return zqtime;
 }

 public void setZqtime(Date zqtime) {
  this.zqtime = zqtime;
 }

 public int getRowNum() {
  return rowNum;
 }

 public void setRowNum(int rowNum) {
  this.rowNum = rowNum;
 }

 public String getAllowanceLeave() {
  return allowanceLeave;
 }

 public void setAllowanceLeave(String allowanceLeave) {
  this.allowanceLeave = allowanceLeave;
 }

 public Float getOriginMoney() {
  return originMoney;
 }

 public void setOriginMoney(Float originMoney) {
  this.originMoney = originMoney;
 }

 public Float getNowMoney() {
  return nowMoney;
 }

 public void setNowMoney(Float nowMoney) {
  this.nowMoney = nowMoney;
 }

 public Long getOrgid() {
  return orgid;
 }

 public void setOrgid(Long orgid) {
  this.orgid = orgid;
 }

 public String getOrgname() {
  return orgname;
 }

 public void setOrgname(String orgname) {
  this.orgname = orgname;
 }

 public String getCardno() {
  return cardno;
 }

 public void setCardno(String cardno) {
  this.cardno = cardno;
 }

 public String getRealname() {
  return realname;
 }

 public void setRealname(String realname) {
  this.realname = realname;
 }

 public String getUserno() {
  return userno;
 }

 public void setUserno(String userno) {
  this.userno = userno;
 }

 public Float getEveryDay() {
  return everyDay;
 }

 public void setEveryDay(Float everyDay) {
  this.everyDay = everyDay;
 }

 public Integer getIseverDay() {
  return iseverDay;
 }

 public void setIseverDay(Integer iseverDay) {
  this.iseverDay = iseverDay;
 }

 public Float getOverTimeDay() {
  return overTimeDay;
 }

 public void setOverTimeDay(Float overTimeDay) {
  this.overTimeDay = overTimeDay;
 }

 public Integer getIsoverTimeDay() {
  int isover = 0;
  if(overTimeDay>0)isover=1;
  return isover;
 }

 public void setIsoverTimeDay(Integer isoverTimeDay) {
  this.isoverTimeDay = isoverTimeDay;
 }

 public Float getLaterDay() {
  return laterDay;
 }

 public void setLaterDay(Float laterDay) {
  this.laterDay = laterDay;
 }

 public Float getLeaveEarlyDay() {
  return leaveEarlyDay;
 }

 public void setLeaveEarlyDay(Float leaveEarlyDay) {
  this.leaveEarlyDay = leaveEarlyDay;
 }

 public Float getLostDay() {
  return lostDay;
 }

 public void setLostDay(Float lostDay) {
  this.lostDay = lostDay;
 }

 public String getRemarkDay() {
  return remarkDay;
 }

 public void setRemarkDay(String remarkDay) {
  this.remarkDay = remarkDay;
 }

 public Float getSumLessDay() {
  return SumLessDay;
 }

 public void setSumLessDay(Float sumLessDay) {
  SumLessDay = sumLessDay;
 }

 public Float getYearVaca() {
  return yearVaca;
 }

 public void setYearVaca(Float yearVaca) {
  this.yearVaca = yearVaca;
 }

 public Float getFamilyVaca() {
  return familyVaca;
 }

 public void setFamilyVaca(Float familyVaca) {
  this.familyVaca = familyVaca;
 }

 public Float getMarryVaca() {
  return marryVaca;
 }

 public void setMarryVaca(Float marryVaca) {
  this.marryVaca = marryVaca;
 }

 public Float getBirthVaca() {
  return birthVaca;
 }

 public void setBirthVaca(Float birthVaca) {
  this.birthVaca = birthVaca;
 }

 public Float getDeathVaca() {
  return deathVaca;
 }

 public void setDeathVaca(Float deathVaca) {
  this.deathVaca = deathVaca;
 }

 public Float getHurtVaca() {
  return hurtVaca;
 }

 public void setHurtVaca(Float hurtVaca) {
  this.hurtVaca = hurtVaca;
 }

 public Float getFallVaca() {
  return fallVaca;
 }

 public void setFallVaca(Float fallVaca) {
  this.fallVaca = fallVaca;
 }

 public Float getMatterVaca() {
  return matterVaca;
 }

 public void setMatterVaca(Float matterVaca) {
  this.matterVaca = matterVaca;
 }

 public Float getOtherVaca() {
  return otherVaca;
 }

 public void setOtherVaca(Float otherVaca) {
  this.otherVaca = otherVaca;
 }


 public Float getStudyDay() {
  return studyDay;
 }

 public void setStudyDay(Float studyDay) {
  this.studyDay = studyDay;
 }

 public Float getRemoveDay() {
  return removeDay;
 }

 public void setRemoveDay(Float removeDay) {
  this.removeDay = removeDay;
 }

 public Integer getStatus() {
  return status;
 }

 public void setStatus(Integer status) {
  this.status = status;
 }

 public String getRemark() {
  return remark;
 }

 public void setRemark(String remark) {
  this.remark = remark;
 }
}
